﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using POSSystem.BLL;

namespace WebUI.Controls.POSControls
{
    public partial class UpdateContractMemoCtrl : BaseControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            base.Page_Load(sender, e);
        }

        public string Memo
        {
            get {
                if (rdQuick.Checked)
                    return Contracts.DrawMemo(txtNote.Text, SessionUser.FullName);
                return Contracts.DrawMemo(string.Format("{0}&nbsp;${1}", txtNote.Text, txtPayment.Text), SessionUser.FullName);
            }
        }
    }
}